$OpenBSD: patch-vobsub_c,v 1.1 2012/03/21 23:50:19 fgsch Exp $
--- vobsub.c.orig	Fri Mar 16 23:54:43 2012
+++ vobsub.c	Fri Mar 16 23:54:53 2012
@@ -25,6 +25,7 @@ extern int vobsub_id;
 
 /**********************************************************************/
 
+#ifndef HAVE_GETLINE
 static ssize_t
 getline (char **lineptr, size_t * n, FILE * stream)
 {
@@ -70,6 +71,7 @@ getline (char **lineptr, size_t * n, FILE * stream)
   (*lineptr)[res] = 0;
   return res;
 }
+#endif
 
 /**********************************************************************
  * MPEG parsing
